﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Web.UI.WebControls;
using Shanfree.Framework.Utility;
using Shanfree.SharpMovie.BLL;
using Shanfree.SharpMovie.Model;

public partial class MasterPage_List : System.Web.UI.MasterPage
{
    const string CATALOG_ROOT = "4";
    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            if (!IsPostBack)
            {
                BindList();
            }
        }
        catch (Exception ex)
        {
            throw ex;
        }
    }
    private void BindList()
    {
        // 演员分类下的所有子类别
        IList<CatalogInfo> cList = new Catalog().GetSubList(CATALOG_ROOT, false);
        dlCatalog.DataSource = cList;
        dlCatalog.DataBind();
    }

}
